using System;
using System.Collections.Generic;
using System.Text;

namespace OgilvyOne.Model
{
    public class RoleInfo
    {
        // Fields
        public int iRole_UID;
        public string sIsDel;
        public DateTime sRole_Create_Date;
        public string sRole_Desc;
        public string sRole_Name;
        public DateTime sRole_Update_Date;

        // Methods
        public RoleInfo()
        {
        }

        public RoleInfo(string Role_Name, string Role_Desc)
            : this(0, Role_Name, Role_Desc, DateTime.Now, DateTime.Now, "0")
        {
        }

        public RoleInfo(int Role_UID, string Role_Name, string Role_Desc)
            : this(Role_UID, Role_Name, Role_Desc, DateTime.Now, DateTime.Now, "0")
        {
        }

        public RoleInfo(string Role_Name, string Role_Desc, DateTime Role_Create_Date, DateTime Role_Update_Date)
            : this(0, Role_Name, Role_Desc, Role_Create_Date, Role_Update_Date, "0")
        {
        }

        public RoleInfo(int Role_UID, string Role_Name, string Role_Desc, DateTime Role_Create_Date, DateTime Role_Update_Date)
            : this(Role_UID, Role_Name, Role_Desc, DateTime.Now, DateTime.Now, "0")
        {
        }

        public RoleInfo(int Role_UID, string Role_Name, string Role_Desc, DateTime Role_Create_Date, DateTime Role_Update_Date, string IsDel)
        {
            this.iRole_UID = Role_UID;
            this.sRole_Name = Role_Name;
            this.sRole_Desc = Role_Desc;
            this.sRole_Create_Date = Role_Create_Date;
            this.sRole_Update_Date = Role_Update_Date;
            this.sIsDel = IsDel;
        }

        // Properties
        public string IsDel
        {
            get
            {
                return this.sIsDel;
            }
        }

        public DateTime Role_Create_Date
        {
            get
            {
                return this.sRole_Create_Date;
            }
        }

        public string Role_Desc
        {
            get
            {
                return this.sRole_Desc;
            }
        }

        public string Role_Name
        {
            get
            {
                return this.sRole_Name;
            }
        }

        public int Role_UID
        {
            get
            {
                return this.iRole_UID;
            }
        }

        public DateTime Role_Update_Date
        {
            get
            {
                return this.sRole_Update_Date;
            }
        }

    }
}
